import 'package:get/get.dart';

class GetxdemoController extends GetxController {
  RxString test = "study state".obs;
  RxBool isUppercase = false.obs;

  void changeText() {
      isUppercase.value = !isUppercase.value;
      if (isUppercase.value) {
        test.value = test.value.toUpperCase();
      } else {
        test.value= test.value.toLowerCase();
      }
  }
}